package com.sky.vo;


import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)  //支持链式调用
public class DictVO implements Serializable {
    private String id; // 字典id
    /**父字典id*/
    private String pid;
    /**自典名称*/
    private String name;
    /**编码*/
    private String dictCode;
    /**描述*/
    private String desc;
    /**分类类型*/
    private String type;
    /**字典的值*/
    private Integer value;
    private List<DictVO> children;
}
